﻿using Crocodile.AbstractLanguage.Tree;
using Crocodile.LangUtils;

namespace Crocodile.CsharpLanguage.Tree
{
    public abstract class CsStatement : AbstractNode
    {

        public abstract string[] Text { get; }


        public override string ToString()
        {
            return Text.JoinAll(s => s, delimiter: "\n");
        }
    }
}
